package ${javaClassDefinition.POJO.fullPackage};

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
<#list tableInfo.importPackages as import>
	<#if import??>
import ${import};
	</#if>
</#list>

/**
 * table	: ${tableInfo.tableName} <br/>
 * description : ${tableInfo.tableComment} <br/>
 * time:    ${classCommentInfo.createTime} <br/>
 * @author  ${classCommentInfo.author} <br/>
 */
@Data
@TableName("${tableInfo.tableName}")
public class ${javaClassDefinition.POJO.className} implements Serializable {
    private static final long serialVersionUID=1L;
<#list tableInfo.primaryKeyColumns as colm>
    <#if colm??>
	/** ${colm.columnComment} */
	@TableId
	private ${colm.javaDataType} ${colm.javaColumnName};
	</#if>
</#list>
<#list tableInfo.columnLists as colm>
	<#if colm??>
	<#if (colm_index >= (tableInfo.primaryKeyColumns?size))>
	/** ${colm.columnComment} */
	private ${colm.javaDataType} ${colm.javaColumnName};
	</#if>
	</#if>
</#list>

}